package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.PracticeTask;
import com.xmy.cultivate.mapper.PracticeTaskMapper;
import com.xmy.cultivate.service.IPracticeTaskService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 备课练课任务 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2024-10-09
 */
@Service
public class PracticeTaskServiceImpl extends ServiceImpl<PracticeTaskMapper, PracticeTask> implements IPracticeTaskService {

    @Autowired
    PracticeTaskMapper practiceTaskMapper;

    @Override
    public PracticeTask getPracticeTaskNow(Integer yearPart,
                                           Integer quarterNum,
                                           String dateNow){
        return practiceTaskMapper.getPracticeTaskNow(yearPart,quarterNum,dateNow);
    }
}
